<script type="text/javascript">
$(function(){
	//$("input[name='distributeOperator']").val("10000000");
	//$("input[name='distributeBranch']").val("10000000");
	$.get("inventoryDistributionMagOfCenter/getDistributionDetail",getDistributionRegInfo,"json");
}); 

$("#distributeForm").click(function(){
	var formData = $("form").serialize();
	formData = decodeURIComponent(formData,true);
	$("input[name='serializeForm']").val(formData);
});

</script>
<div class="pageHeader ">
	<form method="post" action="inventoryDistributionMagOfCenter/distributeRegister" class="pageForm required-validate" onsubmit="return validateCallback(this,printViewPageAjaxDone);">
		<div class="pageFormContent" >
		<div class="searchBar">
		<table class="searchContent">
			<!-- <tr>
				<td><label>配送出库单号:</label></td>
				<td><input  name="storageNoByDis" type="text" value="" readonly="readonly" size="20"></td>
			</tr> -->
			<tr>
				<td><label>接收方：</label></td>
				<td><input  name="receiveBranch" type="text" size="20" readonly="readonly" unselectable="on"/></td>			
			</tr>
			<tr>
				<td><label>配送数量：</label></td>
				<td><input  name="distributeAmount" type="text" size="20" readonly="readonly" unselectable="on"/></td>			
			</tr>
			<tr>
				<td><label>配送方：</label></td>
				<td><input  name="distributeBranch" type="text" size="20" readonly="readonly" unselectable="on"/></td>			
			</tr>
			<tr>
				<td><label>配送柜员：</label></td>
				<td><input  name="distributeOperator" type="text" size="20" readonly="readonly" unselectable="on"/></td>			
			</tr>
			<tr>
				<td><label>配送日期：</label></td>
				<td><input  name="distributeDate" type="text" size="20" readonly="readonly" unselectable="on"/></td>			
			</tr>
			<tr>
				<td style="display:none"><input name="distributeTaskNoByDis" value="" type="text" /></td>
			</tr>
			<tr>
				<td style="display:none"><input  name="serializeForm" class="" type="text"  /></td>
			</tr>
			<tr>
				<td style="display:none"><input  name="applyBranchNoByDis" class="" type="text" /></td>
			</tr>
		</table>
		</div>
</div>
<div class="pageContent" >
			<div id="cardDistributionReg">
			<table class="table" width="760" layoutH="298">
			<thead>
				<tr>
					<th width="10%">序号</th>
					<th width="20%">卡产品</th>	
					<th width="45%">制卡任务编号</th>
					<th width="10%">数量</th>
					<!-- <th width="5%" style="display:none;">卡产品代码</th>
					<th width="5%" style="display:none;">制卡号</th>
					<th width="5%" style="display:none;">供应商</th> -->
				</tr>
			</thead>
			<tbody id="distributionDetail">
						
			</tbody>
			
		</table>
		</div>		
		</div>
		<div class="formBar">
			<ul> 
				<li>
					<div class="buttonActive"><div class="buttonContent"><button id="distributeForm" type="submit">保存</button></div></div>
				</li>
				<li>
					<a class="buttonActive" href="inventoryDistributionMagOfCenter/cardDistribution" target="navTab" rel="cardDistribution" title="中心库配送"><span>返回</span></a>
				</li>
			</ul>
		</div>
	</form>
</div>